﻿package server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;

public interface ResDinnerInterface extends Remote {
	


	public int getFirstDinnerNumber(Date day) throws RemoteException;
	
	public int getDinnerPeople(int id)throws RemoteException;


	public int getDinnerWaiter(int id) throws RemoteException;


	public double getDinnerAmount(int id) throws RemoteException ;


	public String getDinnerDate(int id) throws RemoteException ;
	
	


	public int getDinnerTable(int a)throws RemoteException;

	public boolean setDinnerPeople(int a,int people)throws RemoteException;
	public  int addDinnerNumber()throws RemoteException;
	
	public boolean setDinnerDate(int a,Date day)throws RemoteException;
	
	public boolean setDinnerAmount(int a,double amount)throws RemoteException;
	
	public boolean setDinnerTable(int a,int table)throws RemoteException;
	
	public boolean setStaffId(int a,int staffId)throws RemoteException;
	
	public int getDinnerSize(Date day) throws RemoteException;
	
	public int getSize() throws RemoteException;
}
